package org.guohao.mockdata.constant;

public enum DBType {
  DM("dm.jdbc.driver.DmDriver", 5236),
  MYSQL("com.mysql.cj.jdbc.Driver", 3306),
  ORACLE("oracle.jdbc.driver.OracleDriver", 1521);
  private final String driverName;
  private final Integer defaultPort;

  DBType(String driverName, Integer defaultPort) {
    this.driverName = driverName;
    this.defaultPort = defaultPort;
  }

  public String getDriverName() {
    return driverName;
  }

  public Integer getDefaultPort() {
    return defaultPort;
  }
}
